package com.mm.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author 杨朝湖
 * @ClassName: AdminLoginVo
 * @Description: 管理员登录成功之后的返回参数实体
 * @date 2020-11-06 01:19:16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "登录成功返回的参数实体", description = "登录成功返回的参数实体")
public class AdminLoginVo {
    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名", name = "adminName", example = "15120392740", required = true)
    private String adminName;
    /**
     * 用户真实姓名
     */
    @ApiModelProperty(value = "用户真实姓名", name = "adminRealName", example = "杨朝湖", required = true)
    private String adminRealName;

    /**
     * 生日
     */
    @ApiModelProperty(value = "生日", name = "adminBirthday", required = true)
    private Long adminBirthday;

    /**
     * 性别(1-男、2-女、3-保密)
     */
    @ApiModelProperty(value = "性别", name = "adminSex", required = true)
    private Integer adminSex;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱", name = "adminEmail", required = true)
    private String adminEmail;

    /**
     * 头像
     */
    @ApiModelProperty(value = "头像", name = "adminHeadPort", required = true)
    private String adminHeadPort;
    /**
     * 用户登录成功之后的token
     */
    @ApiModelProperty(value = "用户登录成功之后的token", name = "token", required = true)
    private String token;
}
